/**
 * Created by xmgong on 2017/10/24.
 */
import {
    StyleSheet,
} from 'react-native';
import themeconfig from '../../config/theme';


const styles = StyleSheet.create({
    top: {
        flex: 1,
        height: 200,
        alignItems: 'center',
        flexDirection: 'column',
        backgroundColor: themeconfig.maincolor,
        justifyContent: 'center',
    },
    top_txt: {
        color: 'white',
        fontSize: 16,
    },
    top_price: {
        marginTop: 10,
        color: 'white',
        fontSize: 24,
    },
    top_button: {
        marginTop: 10,
        borderRadius: 15,
        height: 30,
        color: 'white',
        width: 60,
    },
    itemBar: {
        height: 48,
        flexDirection: 'row',
        alignItems: 'center',
        justifyContent: 'space-between',
        paddingLeft: 20,
        backgroundColor: 'white',
        paddingRight: 20,
    },

    itemBarSub: {
        flex: 1,
        flexDirection: 'row',
        alignItems: 'center',
        justifyContent: 'space-between',
    },

    cardbg: {
        backgroundColor: themeconfig.maincolor,
        borderRadius: 5,
        flex: 1,
        margin: 10,
        paddingLeft: 10,
        paddingRight: 10,
        alignItems: 'center',
        flexDirection: 'row',
        height: 80,
    },
    cardinfo: {
        flex: 1,
        flexDirection: 'column',
    },

    themegreen_bg: {
        backgroundColor: themeconfig.maincolor,
    },
    themegreen_color: {
        color: themeconfig.maincolor,
    },
    //列表项显示
    itembar: {
        height: 48,
        flexDirection: 'row',
        alignItems: 'center',
        justifyContent: 'space-between',
        paddingLeft: 10,
        backgroundColor: 'white',
        paddingRight: 10,
    },

    itembar1: {
        height: 48,
        flexDirection: 'row',
        alignItems: 'center',
        paddingLeft: 10,
        backgroundColor: 'white',
        paddingRight: 10,
    },

    itembar_txt: {},
    line_gray: {
        backgroundColor: '#eee',
        height: 1,
    },
    //绿色按钮 start
    greenbtn: {
        marginLeft: 10,
        marginRight: 10,
        borderRadius: 5,
        backgroundColor: themeconfig.maincolor,
        height: 46,
        justifyContent: 'center',
        alignItems: 'center',
        flex: 1,
    },
    codebtn: {
        marginTop: 8,
        marginBottom: 8,
        marginLeft: 10,
        marginRight: 0,
        borderRadius: 5,
        backgroundColor: themeconfig.maincolor,
        justifyContent: 'center',
        alignItems: 'center',
        flex: 1,
    },
    greenbtn_txt: {
        color: 'white',
        fontSize: 16,
    },

    cardimg: {
        width: 40,
        height: 40,
        marginLeft: 10,
        marginRight: 10,
    },
    cardinfotxt: {
        color: 'white',
    }
});

export  default styles;
